package com.gree.service.imp;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.gree.dao.TrsT022LoggerRecordDao;
import com.gree.entity.TrsT022LoggerRecord;
import com.gree.service.ITrsT022LoggerRecordService;

@Service("loggerRecordService")
public class TrsT022LoggerRecordServiceImpl implements
		ITrsT022LoggerRecordService {
	@Autowired
	private TrsT022LoggerRecordDao trsT022LoggerRecordDao;

	public TrsT022LoggerRecordDao getTrsT022LoggerRecordDao() {
		return trsT022LoggerRecordDao;
	}

	public void setTrsT022LoggerRecordDao(
			TrsT022LoggerRecordDao trsT022LoggerRecordDao) {
		this.trsT022LoggerRecordDao = trsT022LoggerRecordDao;
	}

	@Override
	public List<TrsT022LoggerRecord> getLoggerRecordResult(
			TrsT022LoggerRecord record) {

		return trsT022LoggerRecordDao.getLoggerRecordResult(record);
	}

	@Override
	public Integer insertLoggerRecord(TrsT022LoggerRecord record) {
		return trsT022LoggerRecordDao.insertLoggerRecord(record);
	}

}
